Optimal. Leaf size=15 \[ \frac{1}{2 a (a \cot (x)+b)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0260682, antiderivative size = 19, normalized size of antiderivative = 1.27, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3087, 37} \[ \frac{\tan ^2(x)}{2 a (a+b \tan (x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3087
Rule 37
Rubi steps
\begin{align*} \int \frac{\sin (x)}{(a \cos (x)+b \sin (x))^3} \, dx &=\operatorname{Subst}\left (\int \frac{x}{(a+b x)^3} \, dx,x,\tan (x)\right )\\ &=\frac{\tan ^2(x)}{2 a (a+b \tan (x))^2}\\ \end{align*}
Mathematica [B] time = 0.0874972, size = 47, normalized size = 3.13 \[ \frac{a (a+b \sin (2 x))+2 b^2 \sin ^2(x)}{2 a \left (a^2+b^2\right ) (a \cos (x)+b \sin (x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.097, size = 29, normalized size = 1.9 \begin{align*} -{\frac{1}{{b}^{2} \left ( a+b\tan \left ( x \right ) \right ) }}+{\frac{a}{2\,{b}^{2} \left ( a+b\tan \left ( x \right ) \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.14235, size = 113, normalized size = 7.53 \begin{align*} \frac{2 \, \sin \left (x\right )^{2}}{{\left (a^{3} + \frac{4 \, a^{2} b \sin \left (x\right )}{\cos \left (x\right ) + 1} - \frac{4 \, a^{2} b \sin \left (x\right )^{3}}{{\left (\cos \left (x\right ) + 1\right )}^{3}} + \frac{a^{3} \sin \left (x\right )^{4}}{{\left (\cos \left (x\right ) + 1\right )}^{4}} - \frac{2 \,{\left (a^{3} - 2 \, a b^{2}\right )} \sin \left (x\right )^{2}}{{\left (\cos \left (x\right ) + 1\right )}^{2}}\right )}{\left (\cos \left (x\right ) + 1\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 0.478099, size = 257, normalized size = 17.13 \begin{align*} -\frac{4 \, a b^{2} \cos \left (x\right )^{2} - a^{3} - 3 \, a b^{2} - 2 \,{\left (a^{2} b - b^{3}\right )} \cos \left (x\right ) \sin \left (x\right )}{2 \,{\left (a^{4} b^{2} + 2 \, a^{2} b^{4} + b^{6} +{\left (a^{6} + a^{4} b^{2} - a^{2} b^{4} - b^{6}\right )} \cos \left (x\right )^{2} + 2 \,{\left (a^{5} b + 2 \, a^{3} b^{3} + a b^{5}\right )} \cos \left (x\right ) \sin \left (x\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17752, size = 27, normalized size = 1.8 \begin{align*} -\frac{2 \, b \tan \left (x\right ) + a}{2 \,{\left (b \tan \left (x\right ) + a\right )}^{2} b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]